package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("check_in_records")
public class CheckInRecordsDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 用户ID */
    @TableField("user_id")
    private Long userId;
    /** 用数字表示星期几 1:表示星期一 2:表示星期二。。。 */
    @TableField("week_day")
    private Integer weekDay;
    /** 连续签到天数 */
    @TableField("consecutive_days")
    private Integer consecutiveDays;
    /** 是否签到 0:没签到 1:已签到 */
    @TableField("is_checked_in")
    private Integer isCheckedIn;
}
